//
//  UIImage+Hw.h
//  BackgroundDownload
//
//  Created by hodor on 2019/7/4.
//  Copyright © 2019 王松锋. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIImage (Hw)
//根据颜色返回图片
+ (UIImage *)imageWithColor:(UIColor *)color;

//获取网络图片
+ (UIImage *)imageWithUrlString:(NSString *)urlString;

//绘制图片圆角
- (UIImage *)drawCornerInRect:(CGRect)rect cornerRadius:(CGFloat)cornerRadius;
@end

NS_ASSUME_NONNULL_END
